-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Control exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


recordid : SelectionSet decodesTo Qore.Object.Recordid -> SelectionSet decodesTo Qore.Object.Control
recordid object_ =
    Object.selectionForCompositeField "recordid" [] object_ identity


otherrecordid : SelectionSet decodesTo Qore.Object.Otherrecordid -> SelectionSet (List decodesTo) Qore.Object.Control
otherrecordid object_ =
    Object.selectionForCompositeField "otherrecordid" [] object_ (identity >> Decode.list)


representation : SelectionSet decodesTo Qore.Object.Respresentation -> SelectionSet (List decodesTo) Qore.Object.Control
representation object_ =
    Object.selectionForCompositeField "representation" [] object_ (identity >> Decode.list)


filedesc : SelectionSet decodesTo Qore.Object.Filedesc -> SelectionSet decodesTo Qore.Object.Control
filedesc object_ =
    Object.selectionForCompositeField "filedesc" [] object_ identity


maintenancestatus : SelectionSet decodesTo Qore.Object.Maintenancestatus -> SelectionSet decodesTo Qore.Object.Control
maintenancestatus object_ =
    Object.selectionForCompositeField "maintenancestatus" [] object_ identity


maintenanceagency : SelectionSet decodesTo Qore.Object.Maintenanceagency -> SelectionSet decodesTo Qore.Object.Control
maintenanceagency object_ =
    Object.selectionForCompositeField "maintenanceagency" [] object_ identity


languagedeclaration : SelectionSet decodesTo Qore.Object.Languagedeclaration -> SelectionSet (List decodesTo) Qore.Object.Control
languagedeclaration object_ =
    Object.selectionForCompositeField "languagedeclaration" [] object_ (identity >> Decode.list)


conventiondeclaration : SelectionSet decodesTo Qore.Object.Conventiondeclaration -> SelectionSet (List decodesTo) Qore.Object.Control
conventiondeclaration object_ =
    Object.selectionForCompositeField "conventiondeclaration" [] object_ (identity >> Decode.list)


rightsdeclaration : SelectionSet decodesTo Qore.Object.Rightsdeclaration -> SelectionSet (List decodesTo) Qore.Object.Control
rightsdeclaration object_ =
    Object.selectionForCompositeField "rightsdeclaration" [] object_ (identity >> Decode.list)


localtypedeclaration : SelectionSet decodesTo Qore.Object.Localtypedeclaration -> SelectionSet (List decodesTo) Qore.Object.Control
localtypedeclaration object_ =
    Object.selectionForCompositeField "localtypedeclaration" [] object_ (identity >> Decode.list)


localcontrol : SelectionSet decodesTo Qore.Object.Localcontrol -> SelectionSet (List decodesTo) Qore.Object.Control
localcontrol object_ =
    Object.selectionForCompositeField "localcontrol" [] object_ (identity >> Decode.list)


maintenancehistory : SelectionSet decodesTo Qore.Object.Maintenancehistory -> SelectionSet decodesTo Qore.Object.Control
maintenancehistory object_ =
    Object.selectionForCompositeField "maintenancehistory" [] object_ identity


sources : SelectionSet decodesTo Qore.Object.Sources -> SelectionSet (Maybe decodesTo) Qore.Object.Control
sources object_ =
    Object.selectionForCompositeField "sources" [] object_ (identity >> Decode.nullable)


id : SelectionSet (Maybe String) Qore.Object.Control
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Control
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Control
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Control
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Control
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Control
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


relatedencoding : SelectionSet (Maybe String) Qore.Object.Control
relatedencoding =
    Object.selectionForField "(Maybe String)" "relatedencoding" [] (Decode.string |> Decode.nullable)


base : SelectionSet (Maybe String) Qore.Object.Control
base =
    Object.selectionForField "(Maybe String)" "base" [] (Decode.string |> Decode.nullable)


langencoding : SelectionSet (Maybe String) Qore.Object.Control
langencoding =
    Object.selectionForField "(Maybe String)" "langencoding" [] (Decode.string |> Decode.nullable)


scriptencoding : SelectionSet (Maybe String) Qore.Object.Control
scriptencoding =
    Object.selectionForField "(Maybe String)" "scriptencoding" [] (Decode.string |> Decode.nullable)


dateencoding : SelectionSet (Maybe String) Qore.Object.Control
dateencoding =
    Object.selectionForField "(Maybe String)" "dateencoding" [] (Decode.string |> Decode.nullable)


countryencoding : SelectionSet (Maybe String) Qore.Object.Control
countryencoding =
    Object.selectionForField "(Maybe String)" "countryencoding" [] (Decode.string |> Decode.nullable)


repositoryencoding : SelectionSet (Maybe String) Qore.Object.Control
repositoryencoding =
    Object.selectionForField "(Maybe String)" "repositoryencoding" [] (Decode.string |> Decode.nullable)
